@import '../../common/definition.less';

main {
  height: 600px;

  section {
    width: 100%;
    height: 600px;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url(../../../assets/img/banner1.png) no-repeat -466px 0px;
    background-color: #dbdbdb;

    div {
      position: relative; // width: 1200px;
      margin: 0 auto;

      mat-card {
        position: absolute;
        padding: 20px 30px;
        left: 0;
        right: 0;
        top: 190px;
        margin: auto;
        width: 250px;
        height: 300px;
        display: flex;
        flex-flow: column;
        align-items: center;
        justify-content: center;

        .loader {
          position: absolute;
          background: #a9a9a9b5;
          width: 100%;
          height: 100%;
          top: 0;
          left: 0;
          z-index: 9;

          .mat-spinner {
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            margin: auto;
          }

          /deep/ .mat-progress-spinner circle,
          .mat-spinner circle {
            stroke: @main-color-dark;
          }
        }

        .login-form {
          width: 250px;
          font-size: 20px;

          mat-form-field {
            display: block;
            padding-left: 46px;

            &:before {
              content: '';
              width: 46px;
              height: 46px;
              position: absolute;
              left: -5px;
              top: 11px;
              background-color: #ddd;
              background-image: url('../../../assets/img/sprite.png');
            }

            &.password-field:before {
              background-position: -46px 1px;
            }
          }
        }
      }
    }
  }
}
